package com.jianyi.system.service.log;

import com.jianyi.system.model.entity.SysLog;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.Optional;

public interface SysLogService{

    Page<SysLog> findAll(String operation, Pageable pageable);

    Page<SysLog> findByMethod(String method,Pageable pageable);

	void save(SysLog sysLog);

	public Optional<SysLog> get(Long id) ;

}
